package com.example.personnel_oa.service;
//service 接口数据传达给controller
import com.example.comment_oa.pojos.Dimission;
import com.example.comment_oa.pojos.SysEmployee;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;

/**
* @author HUAWEI
* @description 针对表【dimission】的数据库操作Service
* @createDate 2022-10-19 16:39:55
*/
@Service
@Repository
@Transactional
public interface DimissionService {
    public List<Dimission> Methods_dim();
    public List<SysEmployee> allDimission();
    public List<Dimission> allrelieve(int dimId);
    //新增离职申请数据
    int shenqinglizhi(Dimission dimission);
    //根据编号查询离职审批数据详情
    Dimission dimBiaanhao(String dimBianhao);
    //离职审批成功
    int dimState(String dimName,String dimBianhao);
    //离职审批失败
    int dimStates(String dimName,String dimBianhao);
}
